<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp" %>
<%@ include file="/commons/nocache.jspf" %>
<%@ taglib uri="/FCKeditor" prefix="FCK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title>岗位管理</title>
<link href="${ctx }/css/admin/css.css" rel="stylesheet" type="text/css" />
<script src="${ctx}/scripts/datepicker/WdatePicker.js"></script>
<script type="text/javascript" src="${ctx}/scripts/sys/calendar.js"></script>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
	color: #000000;
}
body {
	background-color: #F3F8FC;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a {
	font-family: 宋体;
	font-size: 12px;
	color: #000000;
}
a:visited {
	color: #000000;
}
a:hover {
	color: #FF3300;
}
a:active {
	color: #000000;
}
-->
#newPreview
{
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=scale);
}
-->
</style>
<script type="text/javascript" src="${ctx }/fckeditor/fckeditor.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/annext.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/jquery-1.2.3.pack.js"></script>
<script type="text/javascript" src="${ctx}/scripts/commons/jquery.MultiFile.js"></script>
<script type="text/javascript">

		function PreviewImg(imgFile){
		    //新的预览代码，支持 IE6、IE7。
		    var newPreview = document.getElementById("newPreview");
		    newPreview.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").src = imgFile.value;
		    if(imgFile.value)
	  			newPreview.style.height = "71px";
			if(newPreview.innerHTML.length > 0 ){
				newPreview.innerHTML = "";
			}				
		}	
		function showSub(){
					var obj=document.getElementById("shows");
					obj.style.display='block';
				}
				function hideSub(){
					var obj=document.getElementById("shows");
					obj.style.display='none';
				}
		    //去空格函数 
		function LTrim(str) 
		{ 
		var i; 
		for(i=0;i<str.length;i++) 
		{ 
			if(str.charAt(i)!=" "&&str.charAt(i)!=" ")break; 
		} 
			str=str.substring(i,str.length); 
			return str; 
		} 
		function RTrim(str) 
		{ 
		var i; 
			for(i=str.length-1;i>=0;i--) 
			{ 
			 if(str.charAt(i)!=" "&&str.charAt(i)!=" ")break; 
			} 
		str=str.substring(0,i+1); 
		return str; 
		} 
		function Trim(str) 
		{ 
			return LTrim(RTrim(str)); 
		} 		
		function showFun(){
		    var str=window.location;
			var item=window.showModalDialog("${ctx}/user/user_showFun.action?funcstr="+ str,window,"scroll:no;dialogHeight=500px;dialogWidth=420px;");
		var names ="";
        var ids ="";
	   if(item != null){
	    
	          names += item[0][0];
	          ids += item[0][1];
	      }
      	document.getElementById("funcid").value = ids;
    	document.getElementById("funcname").value = names;
		}
			
			function showFun(){
		    var str=document.getElementById("funcname").value;
			var item=window.showModalDialog("${ctx}/user/user_showFun.action?funcstr="+ str,window,"scroll:no;dialogHeight=500px;dialogWidth=420px;");
			var names ="";
	        var ids ="";
		   if(item != null){
		    
		          names += item[0][0];
		          ids += item[0][1];
		      }
		      if(null!=names&&''!=names)
	      		document.getElementById("funcId").value = names;
	      	  if(null!=ids&&''!=ids)
	      		document.getElementById("funcname").value = ids;
		}		
		function showFun(){
		    var str=document.getElementById("funcId").value;
			var item=window.showModalDialog("${ctx}/user/user_showFun.action?funcstr="+ str,window,"scroll:no;dialogHeight=500px;dialogWidth=420px;");
		var names ="";
        var ids ="";
	   if(item != null){
	    
	          names += item[0][0];
	          ids += item[0][1];
	      }
	      if(null!=names&&''!=names)
      		document.getElementById("funcname").value = names;
      	  if(null!=ids&&''!=ids)
      		document.getElementById("funcId").value = ids;
		}
</script>

</head>
<link href="${ctx}/css/main/base.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/css/main/main.css" rel="stylesheet" type="text/css"/>
<body>
<div id="main">
	<div class="zdsz" id="select1">

<div class="tab"><a href="${ctx}/hold/hold!index.action"><h3>留言列表</h3></a><h3 class="sel">留言回复</h3></div>
		<div class="zd_gut">
		<ul class="block">
		<li>

<form name="form1" action="${ctx}/hold/hold!saveRevertHold.action" method="post"  enctype="multipart/form-data">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="${ctx }/images/maintopbg.gif">
  <tr>
    <td align="left"><img src="${ctx }/images/maintop.gif" width="7" height="12" /></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

</table>
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<input type="hidden" name="hold.holdId" value="${hold.holdId }"/>
<input type="hidden" name="hold.holdAnswerName" value="${user.userName }"/>
  <tr>
  	<td height="30" align="right" bgcolor="#DFEAF3">功能分类：</td>
    <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5">
    <input type="hidden" id="funcId" name="hold.funcId" value="${hold.funcId}"/>
    <input id="funcname"  value="${titleFunc.funcName }" readOnly onclick="showFun();" type="text" class="input01" maxlength="200"/></td>
    <td height="30" align="right" bgcolor="#DFEAF3">是否审核：</td>
    <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5"> 
    <input type="radio" name=hold.holdFlag value="0" <s:if test="hold.holdFlag==0">checked</s:if>/>未审核
    <input type="radio" name=hold.holdFlag value="1" <s:if test="hold.holdFlag==1">checked</s:if>/>已审核
  </tr>
  <tr>
    <td height="30" align="right" bgcolor="#DFEAF3">留言标题：</td>
    <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5">
    <input id="hold.holdHeader" name="hold.holdHeader" value="${hold.holdHeader }" type="text" class="input01" maxlength="200"/></td>
    <td height="30" align="right" bgcolor="#DFEAF3">留言内容：</td>
    <td height="30"  align="left" bgcolor="#FFFFFF" class="tblz5">
    <input id="hold.holdContent" name="hold.holdContent" value="${ hold.holdContent}" type="text" class="input01" maxlength="200"/></td>
   </tr>
   <tr>
  	<td height="30" align="right" bgcolor="#DFEAF3">访问IP：</td>
    <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5">
    <input type="text" readOnly id="holdIp" name="hold.holdIp" value="${hold.holdIp }"/></td>
    <td height="30" align="right" bgcolor="#DFEAF3">留言日期：</td>
    <td height="30" align="left" bgcolor="#FFFFFF" class="tblz5"> 
    <input id="holdDate" readOnly name="hold.holdDate" value="${hold.holdDate }" type="text" class="input01" maxlength="200"/></td>
  </tr>
  <tr>
     <td height="30" width="20%" align="right" bgcolor="#DFEAF3">留言回复：</td>
    <td height="30" colspan="3" width="30%" align="left" bgcolor="#FFFFFF" class="tblz5">
    <textarea name="hold.holdAnswer" class="fl_l text1">${hold.holdAnswer}</textarea></td>
  </tr>

</table>

<table height="50" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="150" align="right"><input type="submit"  value="提交" class="btn"/></td>
    <td width="100" align="right"><input type="reset" value="重置" class="btn"/></td>
  </tr>
</table>
</from>
</li>
		</ul>
		</div>
	</div>
</div>
</body>
</html>

